package com.lhkj.ct.framework.auth.dto;

import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDate;


public class PatRegisterDto implements Serializable {

    @NotBlank(message = "姓名不能为空")
    @ApiModelProperty(value = "姓名")
    private String patName;

    @NotBlank(message = "性别不能为空")
    @ApiModelProperty(value = "性别")
    private String patSex;

    @NotNull(message = "出生日期不能为空")
    @ApiModelProperty(value = "出生日期")
    private LocalDate patBirthday;

    @NotBlank(message = "证件类型不能为空")
    @ApiModelProperty(value = "证件类型")
    private String patIdentType;

    @NotBlank(message = "证件号码不能为空")
    @ApiModelProperty(value = "证件号码")
    private String patIdentNo;

    @ApiModelProperty(value = "门诊/诊疗(卡)号")
    private String patCardNo;

    @ApiModelProperty(value = "手机号")
    private String patMobile;

    @ApiModelProperty(value = "省市区域")
    private String patArea;

    @ApiModelProperty(value = "详细地址")
    private String patAddress;

    @NotBlank(message = "凭证不能为空")
    @ApiModelProperty(value = "第三方唯一凭证")
    private String identifier;

    @ApiModelProperty(value = "单位")
    private String patUnit;

    @ApiModelProperty(value = "机构")
    private String patOrgan;


    public String getPatName() {
        return patName;
    }

    public void setPatName(String patName) {
        this.patName = patName;
    }

    public String getPatSex() {
        return patSex;
    }

    public void setPatSex(String patSex) {
        this.patSex = patSex;
    }

    public LocalDate getPatBirthday() {
        return patBirthday;
    }

    public void setPatBirthday(LocalDate patBirthday) {
        this.patBirthday = patBirthday;
    }

    public String getPatIdentType() {
        return patIdentType;
    }

    public void setPatIdentType(String patIdentType) {
        this.patIdentType = patIdentType;
    }

    public String getPatIdentNo() {
        return patIdentNo;
    }

    public void setPatIdentNo(String patIdentNo) {
        this.patIdentNo = patIdentNo;
    }

    public String getPatCardNo() {
        return patCardNo;
    }

    public void setPatCardNo(String patCardNo) {
        this.patCardNo = patCardNo;
    }

    public String getPatMobile() {
        return patMobile;
    }

    public void setPatMobile(String patMobile) {
        this.patMobile = patMobile;
    }

    public String getPatArea() {
        return patArea;
    }

    public void setPatArea(String patArea) {
        this.patArea = patArea;
    }

    public String getPatAddress() {
        return patAddress;
    }

    public void setPatAddress(String patAddress) {
        this.patAddress = patAddress;
    }

    public String getIdentifier() {
        return identifier;
    }

    public void setIdentifier(String identifier) {
        this.identifier = identifier;
    }

    public String getPatUnit() {
        return patUnit;
    }

    public void setPatUnit(String patUnit) {
        this.patUnit = patUnit;
    }

    public String getPatOrgan() {
        return patOrgan;
    }

    public void setPatOrgan(String patOrgan) {
        this.patOrgan = patOrgan;
    }
}
